	<div class="boxer">
	<div class="box">
		<div class="catname">
			<h2 class="jiaose-creat-ico">角色修改</h2>
		</div>

		<div class="jiaose-from backfff">
		<form action="/role/edit/{{.Role.Id}}" method="post">
			<table width="90%" border="0" cellspacing="0" cellpadding="0" class="margin_ten">
				<tr>
					<td width="150"><i>*</i>角色名称</td>
					<td><input type="text" class="t" name="Name" value="{{.Role.Name}}"/><sapn style="color:red">{{.flash.error}}</span></td>
				</tr>
				<tr>
					<td>状态</td>
					<td><select name="Status" id="status">
						<option value="1"
							{{if eq 1 .Role.Status}}
							selected='selected'
							{{end}}
						>启 用</option>
						<option value="0"
							{{if eq 0 .Role.Status}}
							selected='selected'
							{{end}}
						>禁 用</option>
					</select></td>
				</tr>
				<tr>
					<td valign="top">角色描述</td>
					<td>
						<textarea name="Description" id="">{{.Role.Description}}</textarea>
					</td>
				</tr>
				<tr>
					<td colspan="2" class="btn">
						<input type="submit" value="确定" />
						<input type="button" style="background-color:#cccccc" value="取消" id="cancel"/>
					</td>
				</tr>
			</table>
			 </form>
		</div>
	</div>
	</div>
<script type="text/javascript">
  $(function () {
	nku.droplist.config({'theme':'win7'}).play('status');
	$("#cancel").on("click",function(){
		window.history.back(-1);
	})
  })
</script>